<?php
class TdHiddenField extends TdFormField {
 
  
  function __construct($id, $template="") {
    parent::__construct($id, $template);
  }

  function __toString() {
  	$pout = parent::__toString();
  	if ($pout != "") {
    	return $pout;
  	}
  	 
    ob_start();

    if (isset($this->label)) {
      print($this->label);
    }
    print("<input id=\"".$this->id."\" name=\"".$this->name."\" type=\"hidden\"");    
    print(" value=\"".$this->value."\"\/>");
    
    return ob_get_clean(); 
  }



}
?>